/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.assignment1.conf;

import com.assignment1.service.Assignment1Service;
import com.assignment1.service.Impl.Assignment1Impl;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;



/**
 *
 * @author ASUS
 */
@Configuration
public class AppConfig {
    
    @Bean(name = "add")
    public Assignment1Service add() {
        return new Assignment1Impl();
    }
    
    @Bean(name = "gender")
    public Assignment1Service getGender()
    {
        return new Assignment1Impl();
    }
    
    @Bean(name = "flo")
    public Assignment1Service getFloat()
    {
        return new Assignment1Impl();
    }
    
    @Bean(name = "time")
    public Assignment1Service getTimeOut()
    {
        return new Assignment1Impl();
    }
    
    @Bean(name = "array")
    public Assignment1Service getArrayDetails()
    {
        return new Assignment1Impl();
    }
    
    @Bean(name = "equal")
    public Assignment1Service testEquality()
    {
        return new Assignment1Impl();
    }
}
